Optimal. Leaf size=29 \[ \frac {\sqrt {b x+2} \log (b x+2)}{b \sqrt {-b x-2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.00, antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {23, 31} \[ \frac {\sqrt {b x+2} \log (b x+2)}{b \sqrt {-b x-2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 23
Rule 31
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {-2-b x} \sqrt {2+b x}} \, dx &=\frac {\sqrt {2+b x} \int \frac {1}{2+b x} \, dx}{\sqrt {-2-b x}}\\ &=\frac {\sqrt {2+b x} \log (2+b x)}{b \sqrt {-2-b x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 28, normalized size = 0.97 \[ \frac {(b x+2) \log (b x+2)}{b \sqrt {-(b x+2)^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 1, normalized size = 0.03 \[ 0 \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [C] time = 0.97, size = 12, normalized size = 0.41 \[ -\frac {i \, \log \left ({\left | b x + 2 \right |}\right )}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 26, normalized size = 0.90 \[ \frac {\sqrt {b x +2}\, \ln \left (b x +2\right )}{\sqrt {-b x -2}\, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.35, size = 16, normalized size = 0.55 \[ \sqrt {-\frac {1}{b^{2}}} \log \left (x + \frac {2}{b}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.07, size = 47, normalized size = 1.62 \[ -\frac {4\,\mathrm {atan}\left (\frac {b\,\left (-\sqrt {-b\,x-2}+\sqrt {2}\,1{}\mathrm {i}\right )}{\left (\sqrt {2}-\sqrt {b\,x+2}\right )\,\sqrt {b^2}}\right )}{\sqrt {b^2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 1.98, size = 53, normalized size = 1.83 \[ \begin {cases} - \frac {i \log {\left (x + \frac {2}{b} \right )}}{b} & \text {for}\: \left |{x + \frac {2}{b}}\right | < 1 \\\frac {i \log {\left (\frac {1}{x + \frac {2}{b}} \right )}}{b} & \text {for}\: \frac {1}{\left |{x + \frac {2}{b}}\right |} < 1 \\\frac {i {G_{2, 2}^{2, 0}\left (\begin {matrix} & 1, 1 \\0, 0 & \end {matrix} \middle | {x + \frac {2}{b}} \right )}}{b} - \frac {i {G_{2, 2}^{0, 2}\left (\begin {matrix} 1, 1 & \\ & 0, 0 \end {matrix} \middle | {x + \frac {2}{b}} \right )}}{b} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________